using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessLogicLayer
{
    using BusinessObjectLayer;
    using DataAccessLayer;
    using DataObjectLayer;

    public class CategoryItemBLL
    {
        public CategoryItemBOL[] Select()
        {
            CategoryItemDAL _CategoryItemDAL = new CategoryItemDAL(CategoryItemDOL.QueryStatus.Select);
            return _CategoryItemDAL.Select();
        }
        public void Insert(CategoryItemBOL _CategoryItemBOL)
        {
            CategoryItemDAL _CategoryItemDAL = new CategoryItemDAL(CategoryItemDOL.QueryStatus.Insert, _CategoryItemBOL);
            _CategoryItemDAL.Insert();
        }
        public void Update(CategoryItemBOL _CategoryItemBOL)
        {
            CategoryItemDAL _CategoryItemDAL = new CategoryItemDAL(CategoryItemDOL.QueryStatus.Update, _CategoryItemBOL);
            _CategoryItemDAL.Update();
        }
        public void Delete(CategoryItemBOL _CategoryItemBOL)
        {
            CategoryItemDAL _CategoryItemDAL = new CategoryItemDAL(CategoryItemDOL.QueryStatus.Delete, _CategoryItemBOL);
            _CategoryItemDAL.Delete();
        }
        public long? SelectMaxId()
        {
            CategoryItemDAL _CategoryItemDAL = new CategoryItemDAL(CategoryItemDOL.QueryStatus.SelectMaxId);
            return _CategoryItemDAL.SelectMaxId();
        }
        public CategoryItemBOL[] SelectComboBox()
        {
            CategoryItemDAL _CategoryItemDAL = new CategoryItemDAL(CategoryItemDOL.QueryStatus.SelectComboBox);
            return _CategoryItemDAL.SelectComboBox();
        }
    }
}
